get-mailpublicfolder | get-publicfolder

I'm currently running Exchange 2013 CU 7 and I appear to have an issue with commands I used to be able to use.

Such as

get-mailpublicfolder | get-publicfolder 

get-recipient pf@domain.com | get-publicfolder

I'm getting the following error while trying to run it.

Cannot process argument transformation on parameter 'Identity'. Cannot convert the "domain.com/Microsoft
Exchange System Objects/Public Folder" value of type "Microsoft.Exchange.Data.Directory.ADObjectId" to
type "Microsoft.Exchange.Configuration.Tasks.PublicFolderIdParameter".
    + CategoryInfo          : InvalidData: (Public Folder:PSObject) [Get-PublicFolder], ParameterBindin...
   mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Get-PublicFolder
    + PSComputerName        :server.domain.com

I used to use these commands all the time in Exchange 2010 .... Am I going crazy? I sware I've used these commands on Exchange 2013.

Thanks for the help !!!

June 17th, 2015 5:13pm

I'm currently running Exchange 2013 CU 7 and I appear to have an issue with commands I used to be able to use.

Such as

get-mailpublicfolder | get-publicfolder 

get-recipient pf@domain.com | get-publicfolder

I'm getting the following error while trying to run it.

Cannot process argument transformation on parameter 'Identity'. Cannot convert the "domain.com/Microsoft
Exchange System Objects/Public Folder" value of type "Microsoft.Exchange.Data.Directory.ADObjectId" to
type "Microsoft.Exchange.Configuration.Tasks.PublicFolderIdParameter".
    + CategoryInfo          : InvalidData: (Public Folder:PSObject) [Get-PublicFolder], ParameterBindin...
   mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Get-PublicFolder
    + PSComputerName        :server.domain.com

I used to use these commands all the time in Exchange 2010 .... Am I going crazy? I sware I've used these commands on Exchange 2013.

Thanks for the help !!!

Hi,

Try the following

Get-recipient publcfolderName | Get-PublicFolder

Free Windows Admin Tool Kit Click here and download it now
June 18th, 2015 12:00am

Hi,

I test your command in my lab. The result is the same as yours.

If you want to get all the mail enabled public folder with command get-publicfolder, I suggest the following command:

Get-PublicFolder -Recurse | where {($_.MailEnabled -eq $True)}

Learn more about Get-PublicFolder cmdlet.

https://technet.microsoft.com/en-us/library/aa997615%28v=exchg.150%29.aspx?f=255&MSPPError=-2147217396

Best Regards.

June 18th, 2015 3:03am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics